/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SQL;

/**
 *
 * @author Julian
 */
public abstract class DAOFactory {
    
    public static final int MYSQL = 1;
    public static final int ORACLE = 2;
    public static final int MYSQL2 = 3;
    public static DAOFactory getInstance(int dataSource){
        switch (dataSource){
            case MYSQL: return new MySQLDAOFactory();
           
        }
        return null;
    }
    public abstract ReplyDAO createReplyDAO();
      
    
}
